import os, poser

GLOWWORM_VERSION = "1.3.2007.01.05"
GLOWWORM_PLATFORM = os.name

TEXT_USEDOC = "Use document settings"
TEXT_CURRENT = "Current Frame"
TEXT_FRAMES = "Frames in Range"

TEXT_DOLOG = "Keep log when rendering."
TEXT_SHOWLOG = "Show log when done."
TEXT_WARNIF = "Show render passes warning."
TEXT_RUNSIMS = "Run simulations before render."

TEXT_CLOSE = "Close Poser when done."
TEXT_SHUTDOWN = "Shutdown when done."

TEXT_ASKRENDER = "Render all queued jobs?"
TEXT_YES = "Yes"
TEXT_NO = "No"

TEXT_KNOCKOUT = "Knockout color"
INFO_KNOCKOUT = "This color is used like a green screen."

TEXT_BLACK = "Black"
TEXT_WHITE = "White"
TEXT_RED = "Red"
TEXT_GREEN = "Green"
TEXT_BLUE = "Blue"
TEXT_TEAL = "Teal"
TEXT_PURPLE = "Purple"
TEXT_YELLOW = "Yellow"

TEXT_LOAD = "Load"
TEXT_SELPRESET = "Select a preset:"

TEXT_NONE = "None"
TEXT_FX6 = "Select a partial shader..."

TEXT_LIGHTING = "Lighting"
TEXT_DIFFUSE_COLOR = "Diffuse Color"
TEXT_SHADOWS_ONLY = "Shadows Only"
TEXT_AMBIENT_OCCL = "Ambient Occlusion"
TEXT_DEPTH_MASK = "Depth Mask"
TEXT_HAIR_ONLY = "Hair Only"
TEXT_PARTICLES_ONLY = "Particles Only"
TEXT_SELECT_ATTRIBS_ONLY = "Select attributes only..."

TEXT_RENDERPASS_OPTIONS = "Render Pass Options"

TEXT_PASS_PER_LIGHT = "Pass for each light"
TEXT_PASS_PER_OBJECT = "Pass for each figure/prop"
TEXT_CAST_SHADOWS = "Cast shadows"

TEXT_ATTRIB_DIFFUSE = "Diffuse"
TEXT_ATTRIB_SPECULAR = "Specular"
TEXT_ATTRIB_AMBIENT = "Ambient"
TEXT_ATTRIB_TRANSLUCENCE = "Translucence"
TEXT_ATTRIB_REFLECTION = "Reflection"
TEXT_ATTRIB_REFRACTION = "Refraction"
TEXT_ATTRIB_ALTDIFFUSE = "Alternate Diffuse"
TEXT_ATTRIB_ALTSPECULAR = "Alternate Specular"
TEXT_ATTRIB_SHADOWS = "Shadows"
TEXT_ATTRIB_HAIR = "Show hair"
TEXT_ATTRIB_PARTICLES = "Show particles"

TEXT_FILE_SUFFIX = "File suffix"
TEXT_PARTIAL_SHADER = "Partial shader"
TEXT_PRESETS = "Presets"

CODE_LIGHTING = "lite"
CODE_DIFFUSE_COLOR = "dif"
CODE_SHADOWS_ONLY = "shd"
CODE_AMBIENT_OCCL = "ao"
CODE_DEPTH_MASK = "zb"
CODE_HAIR_ONLY = "fur"
CODE_PARTICLES_ONLY = "fx"
CODE_SELECT_ATTRIBS_ONLY = "cust"

CODE_ATTRIB_DIFFUSE = "Kd"
CODE_ATTRIB_SPECULAR = "Ks"
CODE_ATTRIB_AMBIENT = "Ka"
CODE_ATTRIB_TRANSLUCENCE = "Ku"
CODE_ATTRIB_REFLECTION = "Kr"
CODE_ATTRIB_REFRACTION = "Kf"
CODE_ATTRIB_ALTDIFFUSE = "Kad"
CODE_ATTRIB_ALTSPECULAR = "Kas"
CODE_ATTRIB_SHADOWS = "shadows"
CODE_ATTRIB_HAIR = "Ha"
CODE_ATTRIB_PARTICLES = "Fx"

TRANSLATOR_ATTRIB = {	CODE_ATTRIB_DIFFUSE : TEXT_ATTRIB_DIFFUSE,
			CODE_ATTRIB_SPECULAR : TEXT_ATTRIB_SPECULAR,
			CODE_ATTRIB_AMBIENT : TEXT_ATTRIB_AMBIENT,
			CODE_ATTRIB_TRANSLUCENCE : TEXT_ATTRIB_TRANSLUCENCE,
			CODE_ATTRIB_REFLECTION : TEXT_ATTRIB_REFLECTION,
			CODE_ATTRIB_REFRACTION : TEXT_ATTRIB_REFRACTION,
			CODE_ATTRIB_ALTDIFFUSE : TEXT_ATTRIB_ALTDIFFUSE,
			CODE_ATTRIB_ALTSPECULAR : TEXT_ATTRIB_ALTSPECULAR,
			CODE_ATTRIB_SHADOWS : TEXT_ATTRIB_SHADOWS,
			CODE_ATTRIB_HAIR : TEXT_ATTRIB_HAIR,
			CODE_ATTRIB_PARTICLES : TEXT_ATTRIB_PARTICLES }


TEXT_PASS_NORMAL = "Normal Render"
TEXT_PASS_BEAUTY = "Beauty Pass"
TEXT_PASS_SHADING = "Shading Pass"
TEXT_PASS_COLOR = "Color Pass"
TEXT_PASS_SPECULAR = "Specular Pass"
TEXT_PASS_GLOW = "Glow Pass"

VAR_USEDOC = "USEDOC"
VAR_CURRENT = "CURRENT"

VAR_LOGFILE = "glowWorm.log"

PREF_CLOSE = "closeOnFinish"
PREF_SHUTDOWN = "shutdownOnFinish"
PREF_DOLOG = "doLog"
PREF_SHOWLOG = "showLog"
PREF_WARNIF = "warnIf"
PREF_RUNSIMS = "runSims"
PREF_RP = "rp"
PREF_ADDFILE = "addFile"
PREF_SAVEFILE = "saveFile"
PREF_FX6 = "fx6"
PREF_AOSAMPLES = "aoSamples"
PREF_AOMAXDIST = "aoMaxDist"
PREF_AORAYBIAS = "aoRayBias"
PREF_AOSTRENGTH = "aoStrength"
PREF_CLOSE = "closeOnFinish"
PREF_SHUTDOWN = "shutdownOnFinish"
